package org.zhangsh.spring;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.zhangsh.spring.service.ZhangshService;

/**
 * </p>
 *
 * @author zhangsh
 * @version 1.0.0
 * @since 2019-03-14
 */
@SpringBootApplication
@DempMaperScan
public class SpringApp {

    public static void main(String[] args) {

        /*AnnotationConfigApplicationContext actx  = new AnnotationConfigApplicationContext(SpringConfig.class);
        ZhangshService service = actx.getBean("zhangshService", ZhangshService.class);

        service.sayHello();*/

        SpringApplication.run(SpringApp.class, args);
    }
}
